extends ./index.jade

block content
	.rightSide
		.container-fluid
			.row
				a#return.btn.btn-primary(role='button' href='/views/master.html') 返回
			.row
				h3.col-sm-offset-2 修改堂主
			.row
				form#change_master.form.form-horizontal
					.form-group
						label.col-sm-1(for='account') 账号
						.col-sm-5
							input#account.form-control(type='text' placeholder='请输入堂主账号' required)
					.form-group
						label.col-sm-1(for='password') 密码
						.col-sm-5
							input#password.form-control(type='password' placeholder='请输入密码' required)
					.form-group
						label.col-sm-1(for='name') 姓名
						.col-sm-5
							input#master_name.form-control(type='text' placeholder='请输入堂主姓名' required)
					.form-group
						label.col-sm-1(for='school') 学校
						.col-sm-5
							select#school.form-control
					.form-group
						label.col-sm-1 性别
						.col-sm-5
							.col-sm-4
								input#male(type='radio' name='gender' )
								label(for='male') 男
							.col-sm-4
								input#female(type='radio' name='gender')
								label(for='female') 女
					.form-group
						label.col-sm-1(for='phone') 手机
						.col-sm-5
							input#phone.form-control(type='tel' placeholder='请输入手机' required)
					.form-group
						label.col-sm-1(for='email') 邮箱
						.col-sm-5
							input#email.form-control(type='email' placeholder='请输入邮箱' required)
					.form-group
						button.btn.btn-primary.search-left(type='submit' ) 确认修改

	link(rel='stylesheet' href='/css/lib/select2.min.css')
	script#template_school(type='text/dot-tpl')
		|{{~it:value:index}}
		option(value='{{=value.id}}') {{=value.name}}
		|{{~}}

	script(src='/js/lib/require.js' data-main='/js/change_master.js')